package top.yongyan0624.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author yongyan
 * @since 2021-06-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Notice extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private String title;

    private String content;

    private LocalDateTime time;

    @TableField(exist = false)
    private String userName;

    private Long userId;

}
